MK		= mingw32-make
KRNLMK	= .\build\krnlmk.exe
KRNLBIN	= .\build\targets\kernel.o.bin
LDR		= .\ldr\ldr.exe
MAPFILE	= .\build\targets\map.txt
TARGET	= .\build\viskrnl.exe

.PHONY: all

all :
	del /F /Q .\build\targets\kernel.o
	$(MK) -C ./std
	$(MK) -C ./kernel
	$(MK) -C ./arch
	$(MK) -C ./fs
	$(MK) -C ./dev
	$(MK) -C ./init
	$(KRNLMK) $(LDR) $(KRNLBIN) $(MAPFILE) $(TARGET)

	